<!DOCTYPE HTML>
<html lang="en" >
    
    <head>
        
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <title>Html知识 | H5笔记</title>
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <meta name="description" content="">
        <meta name="generator" content="GitBook 2.6.7">
        
        
        <meta name="HandheldFriendly" content="true"/>
        <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
        <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">
        
    <link rel="stylesheet" href="../../gitbook/style.css">
    
        
        <link rel="stylesheet" href="../../gitbook/plugins/gitbook-plugin-expandable-chapters/expandable-chapters.css">
        
    
        
        <link rel="stylesheet" href="../../gitbook/plugins/gitbook-plugin-splitter/splitter.css">
        
    
        
        <link rel="stylesheet" href="../../gitbook/plugins/gitbook-plugin-highlight/website.css">
        
    
        
        <link rel="stylesheet" href="../../gitbook/plugins/gitbook-plugin-search/search.css">
        
    
        
        <link rel="stylesheet" href="../../gitbook/plugins/gitbook-plugin-fontsettings/website.css">
        
    
    

        
    
    
    <link rel="next" href="../../md/html/table.html" />
    
    
    <link rel="prev" href="../../index.html" />
    

        
    </head>
    <body>
        
        
    <div class="book"
        data-level="1"
        data-chapter-title="Html知识"
        data-filepath="md/html/html.md"
        data-basepath="../.."
        data-revision="Tue Mar 13 2018 17:15:57 GMT+0800 (中国标准时间)"
        data-innerlanguage="">
    

<div class="book-summary">
    <nav role="navigation">
        <ul class="summary">
            
            
            
            

            

            
    
        <li class="chapter " data-level="0" data-path="index.html">
            
                
                    <a href="../../index.html">
                
                        <i class="fa fa-check"></i>
                        
                        Introduction
                    </a>
            
            
        </li>
    
        <li class="chapter active" data-level="1" data-path="md/html/html.html">
            
                
                    <a href="../../md/html/html.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.</b>
                        
                        Html知识
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1" data-path="md/html/table.html">
            
                
                    <a href="../../md/html/table.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.1.</b>
                        
                        表格
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="md/html/a.html">
            
                
                    <a href="../../md/html/a.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.2.</b>
                        
                        a标签
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="md/html/anchor.html">
            
                
                    <a href="../../md/html/anchor.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.2.1.</b>
                        
                        a标签锚点
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="md/html/base.html">
            
                
                    <a href="../../md/html/base.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.2.2.</b>
                        
                        base标签
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="md/html/icon.html">
            
                
                    <a href="../../md/html/icon.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.2.3.</b>
                        
                        icon
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="md/html/img.html">
            
                
                    <a href="../../md/html/img.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.3.</b>
                        
                        图片
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="md/html/picture.html">
            
                
                    <a href="../../md/html/picture.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.3.1.</b>
                        
                        picture标签
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="md/html/hotmap.html">
            
                
                    <a href="../../md/html/hotmap.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.3.2.</b>
                        
                        热区
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="md/html/video.html">
            
                
                    <a href="../../md/html/video.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.3.3.</b>
                        
                        视频
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.3.4" data-path="md/html/audio.html">
            
                
                    <a href="../../md/html/audio.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.3.4.</b>
                        
                        音频
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="md/html/tabulation.html">
            
                
                    <a href="../../md/html/tabulation.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.4.</b>
                        
                        列表
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="md/html/ul.html">
            
                
                    <a href="../../md/html/ul.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.4.1.</b>
                        
                        无序列表
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="md/html/dl.html">
            
                
                    <a href="../../md/html/dl.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.4.2.</b>
                        
                        无序列表2
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="md/html/ol.html">
            
                
                    <a href="../../md/html/ol.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.4.3.</b>
                        
                        有序列表
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="md/html/sz.html">
            
                
                    <a href="../../md/html/sz.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.5.</b>
                        
                        实体字符
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="md/html/iframe.html">
            
                
                    <a href="../../md/html/iframe.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.6.</b>
                        
                        iframe标签
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="md/html/form.html">
            
                
                    <a href="../../md/html/form.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.7.</b>
                        
                        form表单
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="md/html/tz.html">
            
                
                    <a href="../../md/html/tz.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.8.</b>
                        
                        拓展
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2" data-path="md/css/css.html">
            
                
                    <a href="../../md/css/css.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.</b>
                        
                        CSS
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1" data-path="md/css/ys.html">
            
                
                    <a href="../../md/css/ys.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.</b>
                        
                        元素选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="md/css/id-class.html">
            
                
                    <a href="../../md/css/id-class.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.</b>
                        
                        id和class选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3" data-path="md/css/relationship-selector.html">
            
                
                    <a href="../../md/css/relationship-selector.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.</b>
                        
                        关系选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.4" data-path="md/css/w.html">
            
                
                    <a href="../../md/css/w.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.4.</b>
                        
                        伪类选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.5" data-path="md/css/attribute-selectors.html">
            
                
                    <a href="../../md/css/attribute-selectors.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.5.</b>
                        
                        属性选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.6" data-path="md/css/w2.html">
            
                
                    <a href="../../md/css/w2.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.6.</b>
                        
                        伪对象选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.7" data-path="md/css/font.html">
            
                
                    <a href="../../md/css/font.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.7.</b>
                        
                        字体
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.8" data-path="md/css/color.html">
            
                
                    <a href="../../md/css/color.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.8.</b>
                        
                        元素颜色
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.9" data-path="md/css/text-shadow.html">
            
                
                    <a href="../../md/css/text-shadow.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.9.</b>
                        
                        文本阴影
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.9.1" data-path="md/css/textdecoration.html">
            
                
                    <a href="../../md/css/textdecoration.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.9.1.</b>
                        
                        文本的线
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.9.2" data-path="md/cs/vertical-align.html">
            
            <span><b>2.9.2.</b> 文本垂直对齐</span>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.10" data-path="md/css/box.html">
            
                
                    <a href="../../md/css/box.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.10.</b>
                        
                        盒子
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.10.1" data-path="md/css/zhu.html">
            
                
                    <a href="../../md/css/zhu.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.10.1.</b>
                        
                        行内元素和块级元素
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.10.2" data-path="md/css/float.html">
            
                
                    <a href="../../md/css/float.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.10.2.</b>
                        
                        浮动
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.10.3" data-path="md/css/flex.html">
            
                
                    <a href="../../md/css/flex.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.10.3.</b>
                        
                        弹性盒子
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.11" data-path="md/css/location.html">
            
                
                    <a href="../../md/css/location.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.11.</b>
                        
                        定位
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.12" data-path="md/css/exercise.html">
            
                
                    <a href="../../md/css/exercise.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.12.</b>
                        
                        练习
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3" data-path="md/gitbook/use.html">
            
                
                    <a href="../../md/gitbook/use.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.</b>
                        
                        gitbook使用
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="4" data-path="md/scss/scss.html">
            
                
                    <a href="../../md/scss/scss.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>4.</b>
                        
                        Sass使用
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="5" data-path="md/gulp/gulp.html">
            
                
                    <a href="../../md/gulp/gulp.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>5.</b>
                        
                        Gulp
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="6" data-path="md/js.html">
            
            <span><b>6.</b> JS</span>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="6.1" data-path="md/js/js_date_obj.html">
            
                
                    <a href="../../md/js/js_date_obj.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>6.1.</b>
                        
                        Date对象
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="6.2" data-path="md/js/理解对象.html">
            
                
                    <a href="../../md/js/理解对象.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>6.2.</b>
                        
                        理解对象
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="6.3" data-path="md/js/事件.html">
            
                
                    <a href="../../md/js/事件.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>6.3.</b>
                        
                        事件
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="6.4" data-path="md/js/XMLHttpRequest对象.html">
            
                
                    <a href="../../md/js/XMLHttpRequest对象.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>6.4.</b>
                        
                        AJAX
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    


            
            <li class="divider"></li>
            <li>
                <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
                    Published with GitBook
                </a>
            </li>
            
        </ul>
    </nav>
</div>

    <div class="book-body">
        <div class="body-inner">
            <div class="book-header" role="navigation">
    <!-- Actions Left -->
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../../" >H5笔记</a>
    </h1>
</div>

            <div class="page-wrapper" tabindex="-1" role="main">
                <div class="page-inner">
                
                
                    <section class="normal" id="section-">
                    
                        <h1 id="html">HTML</h1>
<p>&#x8D85;&#x6587;&#x672C;&#x6807;&#x8BB0;&#x8BED;&#x8A00;  Hyper Text Markup Language</p>
<h3 id="head&#x6807;&#x7B7E;">head&#x6807;&#x7B7E;</h3>
<table>
<thead>
<tr>
<th>&#x6807;&#x7B7E;</th>
<th>&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>&lt;head&gt;&lt;/head&gt;</code></td>
<td>&#x9875;&#x5934;&#x6807;&#x7B7E;&#xFF0C;&#x7528;&#x6765;&#x5B58;&#x653E;&#xFF08;<code>css</code>&#xFF09;&#x6837;&#x5F0F;&#xFF0C;&#x811A;&#x672C;&#x4EE3;&#x7801;&#xFF0C;&#x7F16;&#x7801;&#x58F0;&#x660E;&#xFF0C;SEO&#x58F0;&#x660E;&#xFF0C;&#x9875;&#x9762;&#x56FE;&#x6807;&#x7B49;&#x7B49;</td>
</tr>
</tbody>
</table>
<p><em>SEO</em>:&#x641C;&#x7D22;&#x5F15;&#x64CE;&#x4F18;&#x5316;&#xFF0C;&#x662F;&#x4E00;&#x79CD;&#x300C;&#x5229;&#x7528;&#x641C;&#x7D22;&#x5F15;&#x64CE;&#x7684;&#x641C;&#x7D22;&#x89C4;&#x5219;&#x8BA9;&#x7F51;&#x7AD9;&#x5728;&#x641C;&#x7D22;&#x5F15;&#x64CE;&#x7684;&#x6392;&#x540D;&#x66F4;&#x597D;&#x300D;&#x7684;&#x65B9;&#x6CD5;</p>
<pre><code class="lang-html"><span class="hljs-doctype">&lt;!DOCTYPE html&gt;</span>
<span class="hljs-tag">&lt;<span class="hljs-title">html</span>&gt;</span>    
    <span class="hljs-tag">&lt;<span class="hljs-title">head</span>&gt;</span>
    <span class="hljs-tag">&lt;/<span class="hljs-title">head</span>&gt;</span>
</code></pre>
<h3 id="meta&#x6807;&#x7B7E;">meta&#x6807;&#x7B7E;</h3>
<table>
<thead>
<tr>
<th>&#x5C5E;&#x6027;</th>
<th>&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td>charset</td>
<td>&#x5B9A;&#x4E49;&#x9875;&#x9762;&#x7684;&#x7F16;&#x7801;&#x5C5E;&#x6027;</td>
</tr>
<tr>
<td>name</td>
<td>&#x5C5E;&#x6027;&#x63D0;&#x4F9B;&#x4E86;&#x540D;&#x79F0;/&#x503C;&#x5BF9;&#x4E2D;&#x7684;&#x540D;&#x79F0;</td>
</tr>
<tr>
<td>content</td>
<td>&#x5C5E;&#x6027;&#x63D0;&#x4F9B;&#x4E86;&#x540D;&#x79F0;/&#x503C;&#x5BF9;&#x4E2D;&#x7684;&#x503C;&#x3002;&#x8BE5;&#x503C;&#x53EF;&#x4EE5;&#x662F;&#x4EFB;&#x4F55;&#x6709;&#x6548;&#x7684;&#x5B57;&#x7B26;&#x4E32;&#x3002;</td>
</tr>
</tbody>
</table>
<p><code>keywords</code> &#x662F;&#x4E00;&#x4E2A;&#x7ECF;&#x5E38;&#x88AB;&#x7528;&#x5230;&#x7684;&#x540D;&#x79F0;&#x3002;&#x5B83;&#x4E3A;&#x6587;&#x6863;&#x5B9A;&#x4E49;&#x4E86;&#x4E00;&#x7EC4;&#x5173;&#x952E;&#x5B57;&#x3002;&#x67D0;&#x4E9B;&#x641C;&#x7D22;&#x5F15;&#x64CE;&#x5728;&#x9047;&#x5230;&#x8FD9;&#x4E9B;&#x5173;&#x952E;&#x5B57;&#x65F6;&#xFF0C;&#x4F1A;&#x7528;&#x8FD9;&#x4E9B;&#x5173;&#x952E;&#x5B57;&#x5BF9;&#x6587;&#x6863;&#x8FDB;&#x884C;&#x5206;&#x7C7B;&#x3002;
&#x7C7B;&#x4F3C;&#x8FD9;&#x6837;&#x7684; <code>meta</code>&#x6807;&#x7B7E;&#x53EF;&#x80FD;&#x5BF9;&#x4E8E;&#x8FDB;&#x5165;&#x641C;&#x7D22;&#x5F15;&#x64CE;&#x7684;&#x7D22;&#x5F15;&#x6709;&#x5E2E;&#x52A9;&#xFF1A;</p>
<pre><code>&lt;meta name=&quot;keywords&quot; content=&quot;H5,&#x5B66;&#x4E60;&#xFF0C;&#x524D;&#x7AEF;&quot; /&gt;
</code></pre><pre><code class="lang-html">        <span class="hljs-tag">&lt;<span class="hljs-title">title</span>&gt;</span>&#x7B2C;&#x4E00;&#x5929;&#x7684;&#x8BFE;&#x7A0B;<span class="hljs-tag">&lt;/<span class="hljs-title">title</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-title">meta</span> <span class="hljs-attribute">charset</span>=<span class="hljs-value">&quot;utf-8&quot;</span> /&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-title">meta</span> <span class="hljs-attribute">name</span>=<span class="hljs-value">&quot;keywords&quot;</span> <span class="hljs-attribute">content</span>=<span class="hljs-value">&quot;H5,&#x5B66;&#x4E60;&#xFF0C;&#x524D;&#x7AEF;&quot;</span> /&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-title">meta</span> <span class="hljs-attribute">name</span>=<span class="hljs-value">&quot;description&quot;</span>  <span class="hljs-attribute">content</span>=<span class="hljs-value">&quot;&#x8FD9;&#x662F;&#x6211;&#x7684;&#x7B2C;&#x4E00;&#x5929;&#x505A;&#x7684;&#x7F51;&#x9875;&quot;</span>/&gt;</span>
</code></pre>
<p><code>content</code> &#x5C5E;&#x6027;&#x59CB;&#x7EC8;&#x8981;&#x548C; name &#x5C5E;&#x6027;&#x6216; http-equiv &#x5C5E;&#x6027;&#x4E00;&#x8D77;&#x4F7F;&#x7528;&#x3002;</p>
<h3 id="body&#x6807;&#x7B7E;&#x4EE5;&#x53CA;&#x5176;&#x90E8;&#x5206;&#x5185;&#x7F6E;&#x6807;&#x7B7E;">body&#x6807;&#x7B7E;&#x4EE5;&#x53CA;&#x5176;&#x90E8;&#x5206;&#x5185;&#x7F6E;&#x6807;&#x7B7E;</h3>
<p>&#x9875;&#x9762;&#x7684;&#x8EAB;&#x4F53;&#x5B58;&#x653E;&#x9875;&#x9762;&#x4E0A;&#x7684;&#x4E3B;&#x8981;&#x5185;&#x5BB9; &#x4F8B;&#x5982;&#x56FE;&#x7247;&#xFF0C;&#x6587;&#x5B57;&#xFF0C;&#x7ED3;&#x6784;&#x7B49;</p>
<hr>
<p><code>p</code> &#x6BB5;&#x843D;&#x6807;&#x7B7E;</p>
<p><code>align</code>&#x5C5E;&#x6027;&#xFF1A;&#x5BF9;&#x9F50;&#x5C5E;&#x6027;  left&#x3001;center&#x3001;right</p>
<p><strong><em>&#x6CE8;&#x610F;</em></strong>&#xFF1A;&#x81EA;&#x884C;&#x4E00;&#x884C;&#xFF0C;&#x5E76;&#x4E14;&#x4F1A;&#x8DDF;&#x4E0A;&#x4E0B;&#x6587;&#x6709;&#x95F4;</p>
<hr>
<pre><code class="lang-html">    <span class="hljs-tag">&lt;<span class="hljs-title">body</span>&gt;</span>

        <span class="hljs-tag">&lt;<span class="hljs-title">p</span> <span class="hljs-attribute">align</span>=<span class="hljs-value">&quot;center&quot;</span>&gt;</span>
            &#x6211;&#x662F;&#x4E00;&#x4E2A;&#x6587;&#x672C;&#x6807;&#x7B7E;
        <span class="hljs-tag">&lt;/<span class="hljs-title">p</span>&gt;</span>
</code></pre>
<p><code>h</code>&#x6807;&#x7B7E;&#x7CFB;&#x5217; :&#x6807;&#x9898;&#x6807;&#x7B7E;&#x6570;&#x5B57;&#x8D8A;&#x5C0F;&#xFF0C;&#x7B49;&#x7EA7;&#x8D8A;&#x9AD8;</p>
<p><code>align</code>&#x5C5E;&#x6027;&#xFF1A;&#x5BF9;&#x9F50;&#x5C5E;&#x6027;  left&#x3001;center&#x3001;right</p>
<pre><code class="lang-html">        <span class="hljs-tag">&lt;<span class="hljs-title">h1</span>&gt;</span>&#x4E00;&#x7EA7;&#x6807;&#x9898;<span class="hljs-tag">&lt;/<span class="hljs-title">h1</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-title">h2</span>&gt;</span>&#x4E8C;&#x7EA7;&#x6807;&#x9898;<span class="hljs-tag">&lt;/<span class="hljs-title">h2</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-title">h3</span>&gt;</span>&#x4E09;&#x7EA7;&#x6807;&#x9898;<span class="hljs-tag">&lt;/<span class="hljs-title">h3</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-title">h4</span>&gt;</span>&#x56DB;&#x7EA7;&#x6807;&#x9898;<span class="hljs-tag">&lt;/<span class="hljs-title">h4</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-title">h5</span>&gt;</span>&#x4E94;&#x7EA7;&#x6807;&#x9898;<span class="hljs-tag">&lt;/<span class="hljs-title">h5</span>&gt;</span>
        <span class="hljs-tag">&lt;<span class="hljs-title">h6</span>&gt;</span>&#x516D;&#x7EA7;&#x6807;&#x9898;<span class="hljs-tag">&lt;/<span class="hljs-title">h6</span>&gt;</span>
</code></pre>
<p><code>div</code>&#x6807;&#x7B7E;:&#x5757;&#x7EA7;&#x6807;&#x7B7E;.&#x7279;&#x70B9;:&#x65E0;&#x8272;&#x65E0;&#x5473;&#xFF0C;&#x900F;&#x660E;&#x7684;&#x4E00;&#x4E2A;&#x5BB9;&#x5668;.</p>
<p><code>p</code>&#xFF0C;<code>h</code>&#xFF0C;<code>div</code>&#x8FD9;&#x7C7B;&#x578B;&#x7684;&#x6807;&#x7B7E;&#x90FD;&#x5177;&#x5907;&#x76F8;&#x540C;&#x7684;&#x7279;&#x70B9;&#x5C31;&#x662F;&#x81EA;&#x5DF1;&#x5360;&#x4E00;&#x884C;&#xFF0C;&#x6211;&#x4EEC;&#x79F0;&#x4E4B;&#x4E3A;&#x5757;&#x7EA7;&#x5143;&#x7D20;.&#x5757;&#x7EA7;&#x5143;&#x7D20;&#x7279;&#x70B9;&#x5C31;&#x662F;&#x81EA;&#x5DF1;&#x5360;&#x4E00;&#x884C;</p>
<pre><code class="lang-html">        <span class="hljs-tag">&lt;<span class="hljs-title">div</span>&gt;</span>
            &#x6211;&#x662F;&#x4E00;&#x4E2A;&#x5757;&#x7EA7;&#x5143;&#x7D20;
        <span class="hljs-tag">&lt;/<span class="hljs-title">div</span>&gt;</span>
</code></pre>
<p><code>a</code>,<code>span</code> &#x8FD9;&#x7C7B;&#x5143;&#x7D20;&#x7684;&#x6807;&#x7B7E;&#x90FD;&#x5177;&#x5907;&#x76F8;&#x540C;&#x7684;&#x7279;&#x70B9;&#xFF0C;&#x5C31;&#x662F;&#x613F;&#x610F;&#x8DDF;&#x975E;&#x5757;&#x7EA7;&#x5143;&#x7D20;&#x5171;&#x5904;&#x4E00;&#x884C;&#xFF0C;&#x6211;&#x4EEC;&#x79F0;&#x4E4B;&#x4E3A;&#x884C;&#x5185;&#x5143;&#x7D20;</p>
<p>&#x884C;&#x5185;&#x5143;&#x7D20;&#x7684;&#x7279;&#x70B9;:&#x4E0D;&#x4F1A;&#x81EA;&#x5DF1;&#x5360;&#x4E00;&#x884C;&#xFF0C;&#x6839;&#x636E;&#x81EA;&#x5DF1;&#x7684;&#x5185;&#x5BB9;&#x6765;&#x51B3;&#x5B9A;&#x6240;&#x5360;&#x7684;&#x4F4D;&#x7F6E;</p>
<pre><code class="lang-html">        <span class="hljs-tag">&lt;<span class="hljs-title">a</span> <span class="hljs-attribute">href</span>=<span class="hljs-value">&quot;http://www.baidu.coom&quot;</span>&gt;</span>&#x70B9;&#x6211;&#x53BB;&#x767E;&#x5EA6;<span class="hljs-tag">&lt;/<span class="hljs-title">a</span>&gt;</span>

        <span class="hljs-tag">&lt;<span class="hljs-title">span</span>&gt;</span>&#x6211;&#x4F1A;&#x4E00;&#x4E2A;&#x884C;&#x5185;&#x5143;&#x7D20;<span class="hljs-tag">&lt;/<span class="hljs-title">span</span>&gt;</span>
    <span class="hljs-tag">&lt;/<span class="hljs-title">body</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-title">html</span>&gt;</span>
</code></pre>
<p><a href="https://developer.mozilla.org/zh-CN/docs/Web/Guide/HTML/HTML5/HTML5_element_list" target="_blank">&#x66F4;&#x591A;&#x8D44;&#x8BAF;&#x70B9;&#x6211;</a></p>
<p><strong>&#xFF1A;&#x201C;&#x8D85;&#x6587;&#x672C;&#x201D;&#x5C31;&#x662F;&#x6307;&#x9875;&#x9762;&#x5185;&#x53EF;&#x4EE5;&#x5305;&#x542B;&#x56FE;&#x7247;&#x3001;&#x94FE;&#x63A5;&#xFF0C;&#x751A;&#x81F3;&#x97F3;&#x4E50;&#x3001;&#x7A0B;&#x5E8F;&#x7B49;&#x975E;&#x6587;&#x5B57;&#x5143;&#x7D20;&#x3002;HTML&#x5C31;&#x662F;&#x5236;&#x4F5C;&#x4E00;&#x4E2A;&#x7F51;&#x9875;&#x7684;&#x67B6;&#x6784;&#xFF0C;&#x662F;&#x8BA9;&#x6D4F;&#x89C8;&#x5668;&#x53EF;&#x4EE5;&#x770B;&#x61C2;&#x7684;&#x4E00;&#x95E8;&#x6807;&#x8BB0;&#x8BED;&#x8A00;</strong></p>

                    
                    </section>
                
                
                </div>
            </div>
        </div>

        
        <a href="../../index.html" class="navigation navigation-prev " aria-label="Previous page: Introduction"><i class="fa fa-angle-left"></i></a>
        
        
        <a href="../../md/html/table.html" class="navigation navigation-next " aria-label="Next page: 表格"><i class="fa fa-angle-right"></i></a>
        
    </div>
</div>

        
<script src="../../gitbook/app.js"></script>

    
    <script src="../../gitbook/plugins/gitbook-plugin-expandable-chapters/expandable-chapters.js"></script>
    

    
    <script src="../../gitbook/plugins/gitbook-plugin-splitter/splitter.js"></script>
    

    
    <script src="../../gitbook/plugins/gitbook-plugin-search/lunr.min.js"></script>
    

    
    <script src="../../gitbook/plugins/gitbook-plugin-search/search.js"></script>
    

    
    <script src="../../gitbook/plugins/gitbook-plugin-sharing/buttons.js"></script>
    

    
    <script src="../../gitbook/plugins/gitbook-plugin-fontsettings/buttons.js"></script>
    

    
    <script src="../../gitbook/plugins/gitbook-plugin-livereload/plugin.js"></script>
    

<script>
require(["gitbook"], function(gitbook) {
    var config = {"expandable-chapters":{},"redirect":{},"splitter":{},"highlight":{},"search":{"maxIndexSize":1000000},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"livereload":{}};
    gitbook.start(config);
});
</script>

        
    </body>
    
</html>
